import {defineStore} from 'pinia'
import {getSidebarMenu} from "@/api/tab/tab.ts";

// 存储应用程序的位置
const useNavConfigStore = defineStore('navConfig', {
    state: () => ({
        navList: [
            {
                id: "1",
                name: "主页",
                icon: "home",
                children: [
                    {
                        component: "countdown",
                        name: "下班倒计时",
                        size: "2x4",
                        type: "component",
                        id: "XH4chhkPCCynjgtUk2Ued",
                        view: 2,
                        config: {
                            name: "下班倒计时",
                            target: "10",
                            workTime: ["2020-12-20 09:00:00", "2020-12-20 18:00:00"],
                            repeatWeek: ["8"],
                            bgColor: "#ffffff",
                            textColor: "#666666",
                            family: "HarmonyOS_Sans",
                            mask: 0,
                            dayMoney: 1000,
                            moreList: ["1", "2", "3", "4"]
                        }
                    }, {
                        name: "i日历",
                        component: "calendar",
                        type: "component",
                        size: "2x2",
                        id: "gSZZkzSIL"
                    }, {
                        name: "热搜榜",
                        component: "topsearch",
                        type: "component",
                        size: "2x4",
                        id: "4YROGDwnK"
                    }, {
                        name: "i天气",
                        component: "weather",
                        type: "component",
                        size: "2x4",
                        id: "boeg77UMK",
                        view: 2
                    }, {
                        id: "GUeCPknZi",
                        url: "https://www.iqiyi.com/?vfm=f_432_dhm&fv=8648154ddd63e0af",
                        type: "icon",
                        name: "爱奇艺",
                        src: "https://files.codelife.cc/icons/iqiyi.svg",
                        backgroundColor: "#00cc4c",
                        view: 1
                    }, {
                        id: "Mh9M0gUXe6N-TjKfMaGx_",
                        url: "https://ai.taobao.com?pid=mm_54561194_2536750027_111828300388&union_lens=lensId:PUB@1644727921@21057ef3_09a7_17ef16c69e2_05aa@01",
                        type: "icon",
                        name: "爱淘宝",
                        src: "https://files.codelife.cc/icons/taobao.svg",
                        backgroundColor: "#eb6f2d"
                    }, {
                        name: "体育",
                        component: "sport",
                        type: "component",
                        "insetType": "",
                        src: "https://files.codelife.cc/tools-icon/yiyan.svg",
                        size: "2x2",
                        id: "Ksb0YFzxAvhFXFjW-NMUj0405",
                        view: 1
                    }, {
                        name: "电影日历",
                        component: "movieCalendar",
                        type: "component",
                        "insetType": "",
                        src: "https://files.codelife.cc/tools-icon/movieCalendar.svg",
                        size: "2x2",
                        id: "AMCmO0mTkAuDbfFxG9XVK8222",
                        view: 1
                    }, {
                        backgroundColor: "#0ea27e",
                        component: "aibot",
                        "insetType": "iframe",
                        name: "ChatAi",
                        src: "https://files.codelife.cc/icons/aibot.svg",
                        type: "icon",
                        size: "2x2",
                        id: "0o6UTTKluCGMAwalismKl7592",
                        view: 6
                    }, {
                        name: "备忘录",
                        component: "notes",
                        type: "component",
                        size: "2x2",
                        id: "pLm0V9msZ",
                        view: 2
                    }, {
                        id: "5kGk9TzkRam-a",
                        url: "https://js.design?source=itab&plan=1",
                        type: "icon",
                        name: "即时设计",
                        src: "https://files.codelife.cc/icons/jsdesign.svg",
                        backgroundColor: "#cf3d35",
                        view: 1
                    }, {
                        id: "duzYKi8wvsmT4JMmGOEtG",
                        name: "FlowUs",
                        src: "https://files.codelife.cc/icons/flowus.svg",
                        type: "icon",
                        url: "https://flowus.cn/product?promotionChannel=GW_itab",
                        backgroundColor: "#fff"
                    }, {
                        id: "5a94d582e753876b29cffb95",
                        type: "icon",
                        url: "https://www.tmall.com/",
                        name: "天猫精选",
                        src: "https://files.codelife.cc/icons/tmall.svg",
                        backgroundColor: "#ff0030"
                    }, {
                        url: "https://xiezuocat.com/?s=itab",
                        type: "icon",
                        name: "秘塔写作猫",
                        src: "https://files.codelife.cc/icons/xiezuocat.com.svg",
                        id: "6q1euMaEjtzT7K8oosijk5045",
                        view: 0,
                        backgroundColor: "#fefefe"
                    }, {
                        id: "glN0dLcwF",
                        url: "https://www.baidu.com/?tn=39042058_40_oem_dg",
                        type: "icon",
                        name: "百度",
                        src: "https://files.codelife.cc/icons/baidu.svg",
                        backgroundColor: "#346efd"
                    }, {
                        id: "0z6-vP_7M",
                        url: "http://www.douyu.com/",
                        type: "icon",
                        name: "斗鱼",
                        src: "https://files.codelife.cc/icons/douyu.svg",
                        backgroundColor: "#ff6a2d"
                    }, {
                        id: "5yEZm2kln",
                        url: "https://www.itab.link/web/jd.html",
                        type: "icon",
                        name: "京东商城",
                        src: "https://files.codelife.cc/icons/jd.svg",
                        backgroundColor: "#ff0000",
                        view: 1
                    }, {
                        name: "i壁纸",
                        component: "wallpaper",
                        type: "icon",
                        size: "1x1",
                        id: "fu2M-S9yd",
                        src: "https://files.codelife.cc/tools-icon/wallpaper.svg",
                        view: 6
                    }, {
                        id: "29YCEZ6uQ",
                        url: "http://weibo.com/",
                        type: "icon",
                        name: "新浪微博",
                        src: "https://files.codelife.cc/icons/weibo.svg",
                        backgroundColor: "#ffd850"
                    }, {
                        id: "P7zvl_hxm",
                        url: "https://music.163.com/?from=itab",
                        type: "icon",
                        name: "网易云音乐",
                        src: "https://files.codelife.cc/icons/music163.svg",
                        backgroundColor: "#fe1816",
                        view: 1
                    }, {
                        url: "https://boardmix.cn/",
                        type: "icon",
                        name: "boardmix白板",
                        src: "https://files.codelife.cc/icons/boardmix.cn.svg",
                        id: "boardmix-1",
                        backgroundColor: "#fff",
                        view: 1
                    }, {
                        name: "书签管理",
                        type: "icon",
                        component: "bookmarks",
                        size: "1x1",
                        id: "ABlIiKONc4F1acq3FZU-S",
                        src: "https://files.codelife.cc/tools-icon/bookmarks.svg",
                        view: 1
                    }, {
                        id: "Vpdrvg_2bvxzGiyRKEpOA",
                        url: "itab://add",
                        type: "icon",
                        name: "添加图标",
                        src: "https://files.codelife.cc/icons/add.svg",
                        backgroundColor: "#fff",
                        view: 1
                    }, {
                        id: "-GlRzTMT11",
                        url: "https://itab.link",
                        type: "icon",
                        name: "iTab新标签页",
                        src: "https://files.codelife.cc/icons/itab.svg",
                        backgroundColor: "#1581ff",
                        view: 2
                    }, {
                        id: "guide-1",
                        url: "itab://guide",
                        type: "icon",
                        name: "iTab新手引导",
                        src: "https://files.codelife.cc/icons/guide.svg",
                        backgroundColor: "#febc04"
                    }, {
                        id: "GTIzQ7fHwS501SWtM_8H_",
                        url: "itab://setting",
                        type: "icon",
                        name: "设置",
                        src: "https://files.codelife.cc/icons/setting.svg",
                        view: 5,
                        backgroundColor: "#fff"
                    }, {
                        id: "tqu1Cbxtw",
                        url: "https://www.zhihu.com/",
                        type: "icon",
                        name: "知乎",
                        src: "https://files.codelife.cc/icons/zhihu.svg",
                        backgroundColor: "#0c6dfe",
                        size: "1x2"
                    }, {
                        id: "69srRDG4zfHAZ7G27oMZ_2236",
                        url: "https://vitejs.cn/",
                        name: "Vite中文网",
                        src: "https://vitejs.cn/logo.svg",
                        type: "icon",
                        iconText: "Vit",
                        backgroundColor: "#e67e22",
                        view: 5,
                        size: "1x2"
                    }, {
                        id: "8o7BIQ0N91KbF4FSJ5ZiZ9874",
                        url: "https://element-plus.gitee.io/zh-CN/guide/installation.html",
                        name: "Button 按钮 | Elem",
                        src: "https://element-plus.gitee.io/images/element-plus-logo-small.svg",
                        type: "icon",
                        iconText: "But",
                        backgroundColor: "#33c5c5",
                        view: 209
                    }, {
                        id: "0wAlzvyytsnOr3xaf5b1x2781",
                        url: "https://www.iconfont.cn/",
                        name: "Iconfont",
                        src: "https://files.codelife.cc/icons/iconfont.svg",
                        type: "icon",
                        iconText: "Ico",
                        backgroundColor: "#ffffff",
                        view: 42
                    }, {
                        id: "YbI97jz-g4mZ2XpvlFu5a5854",
                        url: "https://shipin520.com/",
                        name: "潮点视频_版权高清视频素材下载网",
                        src: "https://shipin520.com/favicon.ico",
                        type: "icon",
                        iconText: "潮点视",
                        backgroundColor: "#13ae67"
                    }, {
                        id: "vwLnQvDMr",
                        url: "http://www.bilibili.com/",
                        type: "icon",
                        name: "哔哩哔哩",
                        src: "https://files.codelife.cc/icons/bilibili2.svg",
                        backgroundColor: "#fe65a6",
                        view: 286
                    }, {
                        id: "drhQhJF4gHsWnwNpOe5F50158",
                        url: "https://os.educg.net/#/index",
                        name: "全国大学生计算机系统能力大赛",
                        src: "https://os.educg.net/./favicon.ico",
                        type: "icon",
                        iconText: "全国大",
                        backgroundColor: "#9326e9",
                        view: 7
                    }, {
                        id: "QCL9pgf-sje_EYdDEyMPq7233",
                        url: "https://github.com/search/advanced",
                        name: "GitHub搜索",
                        src: "https://files.codelife.cc/icons/github.svg",
                        type: "icon",
                        iconText: "Git",
                        backgroundColor: "#000",
                        view: 1
                    }, {
                        id: "N6yRELCwG7WRZAse3xvhk2841",
                        url: "https://121",
                        name: "12",
                        src: "",
                        type: "text",
                        iconText: "A",
                        backgroundColor: "#e74c3c"
                    }, {
                        type: "text",
                        id: "dCAEoEnjAPXtdM0kbSYTj0292",
                        url: "edge://extensions/",
                        name: "扩展",
                        src: "",
                        iconText: "扩展",
                        backgroundColor: "#1681ff",
                        view: 4,
                        size: "1x2"
                    }, {
                        url: "https://www.sonarqube.org",
                        type: "icon",
                        name: "SonarQube",
                        src: "https://files.codelife.cc/icons/61d43be165e1f5bb.png",
                        backgroundColor: "#499cd2",
                        id: "LiPkpqKPYROSEetadNB3i0078",
                        view: 1
                    }, {
                        id: "1nRi0ddRsVuqPxwp-6PjP6751",
                        url: "https://vue3js.cn/",
                        name: "Vue3中文文档",
                        src: "https://files.codelife.cc/icons/vuejs.svg",
                        type: "icon",
                        iconText: "Vue",
                        backgroundColor: "#fff",
                        view: 26
                    }]
            },
            {
                name: "编程",
                icon: "code",
                children: [{
                    id: "CZHjnJIMB",
                    url: "https://github.com/",
                    type: "icon",
                    name: "GitHub",
                    src: "https://files.codelife.cc/icons/github.svg",
                    backgroundColor: "#000",
                    view: 4
                }, {
                    id: "apipost-2",
                    url: "https://www.runnergo.com/",
                    type: "icon",
                    name: "RunnerGo",
                    src: "https://files.codelife.cc/icons/runnergo.svg",
                    backgroundColor: "#ffffff",
                    view: 2
                }, {
                    id: "sfPX-WRi0",
                    url: "http://www.v2ex.com/",
                    type: "icon",
                    name: "V2EX",
                    src: "https://files.codelife.cc/icons/v2ex.svg",
                    backgroundColor: "#222222",
                    view: 1
                }, {
                    id: "zsTvF1WI3",
                    url: "https://zh-hans.reactjs.org/",
                    type: "icon",
                    name: "React",
                    src: "https://files.codelife.cc/icons/react.svg",
                    backgroundColor: "#27333b",
                    view: 10
                }, {
                    id: "Svyvhe-MI",
                    url: "https://mrjokersince1997.github.io/My-Notes/#/",
                    type: "icon",
                    name: "Java学习",
                    src: "https://files.codelife.cc/icons/mrjokersince-java.svg",
                    backgroundColor: "#1c1c1c",
                    view: 3
                }, {
                    id: "yQv_IiTzL",
                    url: "https://gitee.com/",
                    type: "icon",
                    name: "码云Gitee",
                    src: "https://files.codelife.cc/icons/gitee.svg",
                    backgroundColor: "#bb2124",
                    view: 93
                }, {
                    id: "NKfU43cp6",
                    url: "http://www.csdn.net/",
                    type: "icon",
                    name: "CSDN",
                    src: "https://files.codelife.cc/icons/csdn.svg",
                    backgroundColor: "#cc001b"
                }, {
                    id: "9ivZt9a2i",
                    url: "http://www.w3school.com.cn",
                    type: "icon",
                    name: "w3school在线教程",
                    src: "https://files.codelife.cc/icons/w3school.svg",
                    backgroundColor: "#cc3333"
                }, {
                    id: "omCrX5KHJ",
                    url: "https://stackoverflow.com/",
                    type: "icon",
                    name: "Stack Overflow",
                    src: "https://files.codelife.cc/icons/stackoverflow.svg",
                    backgroundColor: "#444444",
                    view: 1
                }, {
                    id: "Cp9wFUk43",
                    url: "https://juejin.cn/",
                    type: "icon",
                    name: "掘金",
                    src: "https://files.codelife.cc/icons/juejin.svg",
                    backgroundColor: "#0984fe"
                }, {
                    id: "zGsb_kZ9_",
                    url: "https://leetcode.cn/",
                    type: "icon",
                    name: "力扣",
                    src: "https://files.codelife.cc/icons/leetcode.svg",
                    backgroundColor: "#fff"
                }, {
                    id: "xLiON51K5",
                    url: "https://www.apifox.cn/a1itabweb",
                    type: "icon",
                    name: "Apifox",
                    src: "https://files.codelife.cc/icons/apifoxcn.svg",
                    backgroundColor: "#f4425f",
                    view: 2
                }, {
                    id: "Qz-7AjQ2j-0LgOW1gvzs8",
                    url: "https://arco.design",
                    type: "icon",
                    name: "Arco Design",
                    src: "https://files.codelife.cc/icons/arco-design.svg",
                    backgroundColor: "#fdfef7",
                    view: 3
                }, {
                    id: "dGKow0Xcz",
                    url: "https://www.antdv.com/docs/vue/introduce-cn/",
                    type: "icon",
                    name: "Ant Design Vue",
                    src: "https://files.codelife.cc/icons/ant-design-vue.svg",
                    backgroundColor: "#fff",
                    view: 1
                }, {
                    id: "vjMN3-WZq",
                    url: "http://www.oschina.net/",
                    type: "icon",
                    name: "开源中国",
                    src: "https://files.codelife.cc/icons/oschina.svg",
                    backgroundColor: "#34b960",
                    view: 2
                }, {
                    id: "vflKyWV5I91jKj2XGpWp-",
                    url: "https://www.asiayun.com/",
                    type: "icon",
                    name: "亚云",
                    src: "https://files.codelife.cc/icons/asiayun.svg",
                    backgroundColor: "#fff"
                }, {
                    id: "geekbang-",
                    url: "https://time.geekbang.org/?utm_term=iTab&utm_source=iTab&utm_medium=iTab&utm_campaign=iTab&utm_content=iTab",
                    type: "icon",
                    name: "极客时间",
                    src: "https://files.codelife.cc/icons/geekbang.svg",
                    backgroundColor: "#fff"
                }, {
                    id: "hTirVJgmj-kaifa",
                    url: "https://kaifa.baidu.com/",
                    type: "icon",
                    name: "开发者搜索",
                    src: "https://files.codelife.cc/icons/kaifa.baidu.svg",
                    backgroundColor: "#fff",
                    view: 2
                }, {
                    id: "-jm8kQAefAqZdqVMq0gJu3482",
                    url: "https://www.iconfont.cn/",
                    name: "Iconfont",
                    src: "https://files.codelife.cc/icons/iconfont.svg",
                    type: "icon",
                    iconText: "Ico",
                    backgroundColor: "#ffffff",
                    view: 2
                }, {
                    id: "_d-7k8L8nO7efK0QWoJuN6828",
                    url: "https://cn.vitejs.dev/",
                    name: "vite2中文",
                    src: "https://files.codelife.cc/icons/vitejs.svg",
                    type: "icon",
                    iconText: "vit",
                    backgroundColor: "#fff"
                }, {
                    id: "lG5SopVNY",
                    url: "https://cn.vuejs.org/",
                    type: "icon",
                    name: "Vue2",
                    src: "https://files.codelife.cc/icons/vuejs.svg",
                    backgroundColor: "#fff",
                    view: 4
                }, {
                    id: "fQXMB9hCQKrMJkx5W2XrV0321",
                    url: "https://cn.vitejs.dev/guide/",
                    name: "vite2中文",
                    src: "https://files.codelife.cc/icons/vitejs.svg",
                    type: "icon",
                    iconText: "vit",
                    backgroundColor: "#fff"
                }, {
                    id: "oMttGTujv3kwf8Rv8F2Zy7304",
                    url: "https://pinia.web3doc.top/",
                    name: "Pinia 中文文档",
                    src: "https://pinia.web3doc.top/logo.svg",
                    type: "icon",
                    iconText: "Pin",
                    backgroundColor: "#7dac68",
                    view: 7
                }, {
                    id: "Rpcpldif_Azpsi0UOp2bc6815",
                    url: "https://modao.cc/",
                    name: "墨刀",
                    src: "https://files.codelife.cc/icons/modao.svg",
                    type: "icon",
                    iconText: "墨刀",
                    backgroundColor: "#fff"
                }, {
                    id: "beYgdwnpRuK182vnNCCfK7135",
                    url: "https://blog.eurkon.com",
                    name: "Eurkon - 及时当勉励，岁",
                    src: "",
                    type: "text",
                    iconText: "Eur",
                    backgroundColor: "#f9620e"
                }, {
                    id: "EqgbYPNv7uiYkYf7nDtzG2641",
                    url: "https://echarts.apache.org/examples/zh/index.html#chart-type-pie",
                    name: "Apache ECharts (",
                    src: "https://files.codelife.cc/icons/echarts.apache.org_zh_index.html.svg",
                    type: "icon",
                    iconText: "Apa",
                    backgroundColor: "#aa314d",
                    view: 1
                }, {
                    id: "2QNH4yPmEdq_VcRqZQQ8Q6445",
                    url: "https://mastergo.com/",
                    name: "mastergo",
                    src: "https://static.mastergo.com/static/favicon/apple-touch-icon-new.png",
                    type: "icon",
                    iconText: "",
                    backgroundColor: "#fbbe23",
                    view: 33
                }, {
                    id: "0l3-WsVRyYm3cBlqL4FFt6618",
                    url: "https://developers.weixin.qq.com/",
                    name: "微信开放社区",
                    src: "https://files.codelife.cc/icons/60b9ec77ae5a9ba4024b3e9b.png",
                    type: "icon",
                    iconText: "微信开",
                    backgroundColor: "#ffffff",
                    view: 3
                }, {
                    id: "X48VZItOZ9EzszXFNdSJI8066",
                    url: "https://butterfly.js.org/",
                    name: "Butterfly - A Si",
                    src: "",
                    type: "text",
                    iconText: "But",
                    backgroundColor: "#f01313",
                    view: 2
                }, {
                    id: "xR8QYtJ5Jsb1RWE8Iv1sb2839",
                    url: "https://developers.weixin.qq.com/miniprogram/dev/component/swiper.html",
                    name: "微信小程序开发者文档",
                    src: "https://files.codelife.cc/icons/60b9ec77ae5a9ba4024b3e9b.png",
                    type: "icon",
                    iconText: "微信开",
                    backgroundColor: "#ffffff",
                    view: 1
                }, {
                    id: "683QV08-AUsbn204YSZBY8106",
                    url: "https://fontawesome.com/icons",
                    name: "Font Awesome",
                    src: "https://files.codelife.cc/icons/5c2c31bc77125d6821e77093.png",
                    type: "icon",
                    iconText: "Fon"
                }, {
                    id: "tfQ4TtZgU7aXGrtt-L69J4934",
                    url: "https://www.xiangcaoyun.com",
                    name: "香草云",
                    src: "",
                    type: "text",
                    iconText: "",
                    backgroundColor: "",
                    view: 2
                }, {
                    id: "PsSkSWaUCDMHn1_PWZsGC1656",
                    url: "https://www.dizhishengcheng.com",
                    name: "美国地址生成，美国人虚构信息生成",
                    src: "",
                    type: "text",
                    iconText: "美国地",
                    backgroundColor: "#33c5c5"
                }, {
                    id: "TrmmBEvwaNX6FoOT0jaFN8885",
                    url: "http://211.67.32.44:4529/edu_war_exploded/login/face.mvc",
                    name: "系统",
                    src: "",
                    type: "text",
                    iconText: "",
                    backgroundColor: "",
                    view: 116
                }, {
                    id: "A-WR5bbmNZToenreWxv3_5678",
                    url: "https://mastergo.com/",
                    name: "mastergo",
                    src: "https://static.mastergo.com/static/favicon/apple-touch-icon-new.png",
                    type: "icon",
                    iconText: "master",
                    backgroundColor: "#054092",
                    view: 1
                }, {
                    id: "mfL27aR_LD3TbRub52Ekn9086",
                    url: "https://www.apipost.cn/",
                    name: "ApiPost",
                    src: "https://files.codelife.cc/icons/apipost.svg",
                    type: "icon",
                    iconText: "Api",
                    backgroundColor: "#ee5601",
                    view: 3
                }, {
                    id: "6mDY6d2dgue296Qcb-F8w1603",
                    url: "https://uniapp.dcloud.net.cn/component/",
                    name: "组件使用的入门教程 | uni-",
                    src: "https://qiniu-web-assets.dcloud.net.cn/unidoc/zh/icon.png?v=1556263038788",
                    type: "icon",
                    iconText: "组件使",
                    backgroundColor: "#276ce6",
                    view: 3
                }, {
                    id: "OD67JgAdR47kvc3vRMP0k9755",
                    url: "https://www.yuque.com/dashboard",
                    name: "语雀 ",
                    src: "",
                    type: "text",
                    iconText: "语雀 ",
                    backgroundColor: "#5dbd6a"
                }, {
                    id: "SuEf5Pg8EU9oEx91nHdVJ0785",
                    url: "https://tdesign.tencent.com/",
                    name: "TDesign",
                    src: "https://files.codelife.cc/icons/tdesign.svg",
                    type: "icon",
                    iconText: "TDe",
                    backgroundColor: "#fff",
                    view: 2
                }, {
                    id: "7TE3qcNfhiQuInSeOXiBy9379",
                    url: "https://dev.icoding.ink/admin/tokens",
                    name: "GPT Token Manage",
                    src: "",
                    type: "text",
                    iconText: "GPT",
                    backgroundColor: "#fbbe23",
                    view: 1
                }, {
                    id: "gMv0TIhIHdoLqMvMZ5vNg6182",
                    url: "https://www.yuque.com/xiaoqiang-qgsmv/rfgglm/qlsb8ganw8weupax#s1ayn",
                    name: "语雀 ",
                    src: "https://files.codelife.cc/icons/www.yuque.com.svg",
                    type: "icon",
                    iconText: "语雀 ",
                    backgroundColor: "#5dbd6a"
                }, {
                    id: "42bb89aGiywGlI2lumTub3361",
                    url: "https://ai-bot.cn",
                    name: "AI工具集 | 700+ AI工",
                    src: "https://ai-bot.cn/wp-content/uploads/2023/03/ai-bot-square-logo.png",
                    type: "icon",
                    iconText: "AI工",
                    backgroundColor: "#f01313"
                }, {
                    id: "JZ2jy8PS8n6eRr6ra6wND2108",
                    url: "https://github.com/public-apis/public-apis",
                    name: "GitHub",
                    src: "https://files.codelife.cc/icons/github.svg",
                    type: "icon",
                    iconText: "Git",
                    backgroundColor: "#000"
                }, {
                    id: "OxV5bD40wg6vUvtEL9QQA1293",
                    url: "https://gitcode.com/",
                    name: "GitCode - 开发者的代码",
                    src: "",
                    type: "text",
                    iconText: "Git",
                    backgroundColor: "#13ae67"
                }],
                id: "2"
            },
            {
                id: "nav_yepAOU0lK",
                name: "设计",
                icon: "Darw",
                children: [{
                    id: "3NjEiwNGO",
                    url: "https://www.gaoding.com/utms/cd52981c7dfe966f01ee33d63fa94183",
                    type: "icon",
                    name: "稿定设计",
                    src: "https://files.codelife.cc/icons/gaoding.svg",
                    backgroundColor: "#2455f4"
                }, {
                    id: "5kGk9TzkRam-a",
                    url: "https://js.design/square?sort=downloadNum&source=itab&plan=4",
                    type: "icon",
                    name: "即时设计",
                    src: "https://files.codelife.cc/icons/jsdesign.svg",
                    backgroundColor: "#cf3d35"
                }, {
                    id: "v_xMvU7V_",
                    url: "http://huaban.com/",
                    type: "icon",
                    name: "花瓣",
                    src: "https://files.codelife.cc/icons/huaban.svg",
                    backgroundColor: "#ea2936",
                    view: 2
                }, {
                    id: "raBGdwOvo",
                    url: "https://www.zcool.com.cn/",
                    type: "icon",
                    name: "站酷",
                    src: "https://files.codelife.cc/icons/zcool.svg",
                    backgroundColor: "#e6be1c"
                }, {
                    id: "qW3jSNLWy",
                    url: "https://dribbble.com",
                    type: "icon",
                    name: "Dribbble",
                    src: "https://files.codelife.cc/icons/dribbble.svg",
                    backgroundColor: "#f24e7c",
                    view: 2
                }, {
                    id: "oTmQeJ71f",
                    url: "http://www.qijishow.com/Brand/Brand23/index.htm",
                    type: "icon",
                    name: "绘画艺术",
                    src: "https://files.codelife.cc/icons/60b9f0baae5a9ba4024b4c49.png",
                    backgroundColor: "#000",
                    view: 3
                }, {
                    id: "4A9hLUKqm",
                    url: "https://www.bigbigwork.com",
                    type: "icon",
                    name: "大作免费图片",
                    src: "https://files.codelife.cc/icons/bigbigwork.svg",
                    backgroundColor: "#ff4d4d"
                }, {
                    id: "SF74W_GIh",
                    url: "http://www.nipic.com/index.html",
                    type: "icon",
                    name: "昵图网",
                    src: "https://files.codelife.cc/icons/nipic.svg",
                    backgroundColor: "#dd137b"
                }, {
                    id: "BLJkgf_Aw",
                    url: "https://uidesigndaily.com/",
                    type: "icon",
                    name: "每日ui设计",
                    src: "https://files.codelife.cc/icons/uidesigndaily.svg",
                    backgroundColor: "#fafefe"
                }, {
                    id: "QV-h1L04Y",
                    url: "https://wallhaven.cc/",
                    type: "icon",
                    name: "Wallhaven",
                    src: "https://files.codelife.cc/icons/wallhave.svg",
                    backgroundColor: "#0c4061"
                }, {
                    url: "https://unsplash.dogedoge.com/",
                    type: "icon",
                    name: "Unsplash加速版",
                    src: "https://files.codelife.cc/icons/unsplash.svg",
                    backgroundColor: "#FFFFFF",
                    id: "UiQz7t81324v8JV2X3DdM8575",
                    iconText: ""
                }, {
                    id: "l5OAFo0I2",
                    url: "https://tinypng.com",
                    type: "icon",
                    name: "TinyPNG",
                    src: "https://files.codelife.cc/icons/60b9eba2ae5a9ba4024b3bfc.png",
                    backgroundColor: "#cde7f0",
                    view: 3
                }, {
                    id: "7U3csko_Y",
                    url: "https://www.91sotu.com/",
                    type: "icon",
                    name: "搜图导航",
                    src: "https://files.codelife.cc/icons/www.91sotu.com.svg",
                    backgroundColor: "#fec20a",
                    view: 1
                }, {
                    id: "RC4f5ycSJ",
                    url: "https://www.iconfont.cn/",
                    type: "icon",
                    name: "Iconfont",
                    src: "https://files.codelife.cc/icons/iconfont.svg",
                    backgroundColor: "#ffffff",
                    view: 3
                }, {
                    name: "芦笋在线录制",
                    component: "lusun",
                    type: "component",
                    "insetType": "",
                    src: "https://files.codelife.cc/tools-icon/lusun.svg",
                    size: "1x1",
                    id: "ggyxUPQMGbLHqUT3_rN6H6114"
                }, {
                    id: "2tIHIXVtj",
                    url: "http://zhongguose.com/",
                    type: "icon",
                    name: "中国色",
                    src: "https://files.codelife.cc/icons/zhongguose.com.svg",
                    backgroundColor: "#dadada",
                    view: 2
                }, {
                    id: "kKCjRYCwG",
                    url: "http://www.58pic.com/",
                    type: "icon",
                    name: "千图网",
                    src: "https://files.codelife.cc/icons/58pic.svg",
                    backgroundColor: "#00a46b"
                }, {
                    id: "hCG7key-W",
                    url: "http://ibaotu.com/",
                    type: "icon",
                    name: "包图网",
                    src: "https://files.codelife.cc/icons/ibaotu.svg",
                    backgroundColor: "#fff5c8",
                    view: 1
                }, {
                    id: "cfYmvqDNAcv-kSZAoKLu3",
                    url: "http://www.qijishow.com/down/index.html",
                    type: "icon",
                    name: "奇迹秀",
                    src: "https://files.codelife.cc/icons/qijishow.svg",
                    backgroundColor: "#122441"
                }, {
                    id: "0z6-vP_7M-2",
                    url: "https://www.hellofont.cn?from=itab:test",
                    type: "icon",
                    name: "字由字体",
                    src: "https://files.codelife.cc/icons/hellofont.cn.svg",
                    backgroundColor: "#403F41"
                }, {
                    id: "0z6-vP_7M-21",
                    url: "https://topd.tencent.com/ai?ref=itab.link",
                    type: "icon",
                    name: "Top.AI",
                    src: "https://files.codelife.cc/icons/top-ai.png",
                    backgroundColor: "#ffffff",
                    view: 1
                }, {
                    id: "zpBG2CH52a_xac-k0YaPI7415",
                    url: "https://excalidraw.com/",
                    name: "Excalidraw | Han",
                    src: "https://excalidraw.com/favicon.ico",
                    type: "icon",
                    iconText: "Exc",
                    backgroundColor: "#ee3b3b",
                    view: 1
                }, {
                    id: "ZCbhW66Mf-o6H59JnwT8-5803",
                    url: "https://www.ico51.cn",
                    name: "在线生成透明ICO图标——ICO",
                    src: "",
                    type: "text",
                    iconText: "在线生",
                    backgroundColor: "#054092",
                    view: 2
                }, {
                    id: "YnBzLIu8DP9IZA8cls9CB8356",
                    url: "https://undraw.co/",
                    name: "unDraw 互联网产品矢量图标",
                    src: "https://files.codelife.cc/icons/60b9ec3fae5a9ba4024b3df2.png",
                    type: "icon",
                    iconText: "unD",
                    backgroundColor: "#6c63ff",
                    view: 1
                }, {
                    id: "anEnDU8dYYSLFWaU2lDCw3927",
                    url: "https://js.design/workspace",
                    name: "即时设计",
                    src: "https://files.codelife.cc/icons/jsdesign.svg",
                    type: "icon",
                    iconText: "即时设",
                    backgroundColor: "#cf3d35"
                }, {
                    id: "FlUOKzfjsj2yk5PUWA6Xn4365",
                    url: "https://pixso.cn/",
                    name: "Pixso",
                    src: "https://files.codelife.cc/icons/pixso.cn.svg",
                    type: "icon",
                    iconText: "Pix",
                    backgroundColor: "#ffffff",
                    view: 1
                }, {
                    id: "FEFUnzWhSH2CThhiRMjFS4377",
                    url: "https://tool.lu/cutout/",
                    name: "程序员的工具箱",
                    src: "https://files.codelife.cc/icons/60b9edf6ae5a9ba4024b4379.png",
                    type: "icon",
                    iconText: "程序员",
                    backgroundColor: "#009a61"
                }, {
                    id: "UbrhhDLh4sCGhA3yln41C1504",
                    url: "https://photokit.com/editor/?lang=zh",
                    name: "图片编辑器 - PhotoKit",
                    src: "",
                    type: "text",
                    iconText: "图片编",
                    backgroundColor: "#e67e22"
                }]
            },
            {
                name: "产品",
                icon: "Producthunt",
                children: [
                    {
                        id: "4IM79snuL",
                        url: "http://www.woshipm.com/",
                        type: "icon",
                        name: "人人都是产品经理",
                        src: "https://files.codelife.cc/icons/woshipm.svg",
                        backgroundColor: "#fff"
                    }, {
                        id: "vqZCrDh6zad",
                        url: "https://flowus.cn/product?promotionChannel=GW_itab",
                        type: "icon",
                        name: "FlowUs",
                        src: "https://files.codelife.cc/icons/flowus.svg",
                        backgroundColor: "#fff"
                    }, {
                        id: "vqZCrDh6z",
                        url: "https://www.notion.so/",
                        type: "icon",
                        name: "Notion ",
                        src: "https://files.codelife.cc/icons/notion.svg",
                        backgroundColor: "#fff"
                    }, {
                        id: "-wDKDVcMeU3Ptykw-F0aF",
                        url: "https://u.tools/?from=itab",
                        type: "icon",
                        name: "uTools",
                        src: "https://files.codelife.cc/icons/utools.svg",
                        backgroundColor: "#fff",
                        view: 1
                    }, {
                        url: "https://xiezuocat.com/?s=itab",
                        type: "icon",
                        name: "秘塔写作猫",
                        src: "https://files.codelife.cc/icons/xiezuocat.com.svg",
                        id: "6q1euMaEjtzT7K8oosijk5045-2",
                        view: 0,
                        backgroundColor: "#fefefe"
                    }, {
                        id: "zE9RKmF0l",
                        url: "https://shimo.im/desktop",
                        type: "icon",
                        name: "石墨文档",
                        src: "https://files.codelife.cc/icons/shimo.svg",
                        backgroundColor: "#fff"
                    }, {
                        id: "NxcUMe4w5",
                        url: "https://www.iconfont.cn/",
                        type: "icon",
                        name: "Iconfont",
                        src: "https://files.codelife.cc/icons/iconfont.svg",
                        backgroundColor: "#ffffff",
                        view: 1
                    }, {
                        id: "HXATd_798",
                        url: "http://www.36kr.com",
                        type: "icon",
                        name: "36氪",
                        src: "https://files.codelife.cc/icons/36kr.svg",
                        backgroundColor: "#1380d8"
                    }, {
                        id: "KHigwIg9e",
                        url: "https://www.zhixi.com/space?src=itab",
                        type: "icon",
                        name: " 知犀思维导图",
                        src: "https://files.codelife.cc/icons/zhixi.svg",
                        backgroundColor: "#4dec7c"
                    }, {
                        url: "https://sspai.com/?utm_source=itab.ink",
                        type: "icon",
                        name: "少数派",
                        src: "https://files.codelife.cc/icons/sspai.svg",
                        id: "3OaNFoVII7bWIDIzqXhYX6675",
                        backgroundColor: "#d7191a",
                        view: 1
                    }, {
                        url: "https://www.crxsoso.com/?utm=itab",
                        type: "icon",
                        name: "扩展搜搜",
                        src: "https://files.codelife.cc/icons/crxsoso.com.svg",
                        id: "crxsoso-1",
                        backgroundColor: "#fff",
                        view: 1
                    }, {
                        url: "https://www.islide.cc/ppt?utm_source=itab&utm_medium=web&utm_campaign=1",
                        type: "icon",
                        name: "iSlide PPT神器",
                        src: "https://files.codelife.cc/icons/islide.svg",
                        id: "iSlide-1",
                        backgroundColor: "#fff"
                    }, {
                        url: "https://boardmix.cn/",
                        type: "icon",
                        name: "boardmix白板",
                        src: "https://files.codelife.cc/icons/boardmix.cn.svg",
                        id: "boardmix-2",
                        backgroundColor: "#fff"
                    }, {
                        id: "writingo-2",
                        url: "https://www.writingo.net/document?source=itab",
                        type: "icon",
                        name: "英语润色",
                        src: "https://files.codelife.cc/icons/writingo.net.svg",
                        backgroundColor: "#fff",
                        view: 1
                    }, {
                        id: "hbPSc5kFD",
                        url: "https://www.67tool.com/?from=itab.link",
                        type: "icon",
                        name: "即时工具",
                        src: "https://files.codelife.cc/icons/67tool.svg",
                        backgroundColor: "#369dfc"
                    }, {
                        url: "https://abcdpdf.com/zh-cn/?utm_medium=itab",
                        type: "icon",
                        name: "ABCD PDF",
                        src: "https://files.codelife.cc/icons/abcdpdf.svg",
                        id: "abcdpdf",
                        backgroundColor: "#28364d"
                    }, {
                        id: "EzvV7GmGWxQhDnPXR0bq76974",
                        url: "http://www.ucdrs.superlib.net/",
                        name: "全国图书馆参考咨询联盟",
                        src: "https://files.codelife.cc/icons/b712ff9ce1a2d199.png",
                        type: "icon",
                        iconText: "全国图",
                        backgroundColor: "#ffffff"
                    }, {
                        url: "https://axmax.cn?utm_source=itab",
                        type: "icon",
                        name: "原型托管",
                        src: "https://files.codelife.cc/icons/axmaxcn.svg",
                        id: "axmax",
                        backgroundColor: "#ffffff",
                        view: 1,
                        iconText: ""
                    }],
                id: "nav_v1yD3mRTC"
            },
            {
                id: "nav_ZLL8ueRdj8VpYbAOPKR1S0699",
                name: "AI",
                icon: "ApiApp",
                children: [
                    {
                        url: "https://ai.itab.link/",
                        type: "icon",
                        name: "Ai导航",
                        src: "https://files.codelife.cc/icons/itab.svg",
                        backgroundColor: "#1581ff",
                        id: "SFneMqFIKI5-5ycf6DJ6O8027",
                        view: 2
                    }, {
                        url: "https://openmao.panchuang.net/#/?inviteCode=L2SZTX",
                        type: "icon",
                        name: "开放猫",
                        src: "https://files.codelife.cc/icons/openmao.panchuang.net.png",
                        backgroundColor: "#ffffff",
                        id: "Rp4zGHffWdBN90phkeup59951",
                        view: 3
                    }, {
                        url: "https://xiezuocat.com/?s=itab",
                        type: "icon",
                        name: "秘塔写作猫",
                        src: "https://files.codelife.cc/icons/xiezuocat.com.svg",
                        backgroundColor: "#fefefe",
                        id: "WU5cPaye_efmmAvJ4lK3D5835",
                        view: 1
                    }, {
                        url: "https://www.writingo.net/document?source=itab",
                        type: "icon",
                        name: "火山写作",
                        src: "https://files.codelife.cc/icons/writingo.net.svg",
                        backgroundColor: "#ffffff",
                        id: "Io7d_fKViFR7HAStKWTv23329"
                    }, {
                        url: "https://js.design/ai?source=itab&plan=ai",
                        type: "icon",
                        name: "即时AI",
                        src: "https://files.codelife.cc/icons/js-design-ai.png",
                        backgroundColor: "#202020",
                        id: "WcR9ifg4F5NXJ4ZsHbZme8274",
                        view: 2
                    }, {
                        url: "https://yige.baidu.com",
                        type: "icon",
                        name: "文心一格",
                        src: "https://files.codelife.cc/icons/yige.baidu.png",
                        backgroundColor: "#ffffff",
                        id: "NdjgJUz5ZQZ8-N5Z4CgjA2553"
                    }, {
                        url: "https://www.gaoding.com/utms/cd52981c7dfe966f01ee33d63fa94183",
                        type: "icon",
                        name: "稿定AI做图",
                        src: "https://files.codelife.cc/icons/gaoding.svg",
                        backgroundColor: "#2455f4",
                        id: "Cz4F7JR9Xwz2FQ8lQk1MS1965"
                    }, {
                        url: "https://boardmix.cn/mindmapping/",
                        type: "icon",
                        name: "Ai思维导图",
                        src: "https://files.codelife.cc/icons/boardmix.svg",
                        backgroundColor: "#ffffff",
                        id: "YpCGR-aAM8KYQQLZ6fhR51423"
                    }, {
                        url: "https://k986.com/",
                        type: "icon",
                        name: "Ai作图",
                        src: "https://files.codelife.cc/icons/k986.png",
                        backgroundColor: "#141416",
                        id: "oWOQf4iWcKSD-zsg6sVR83955"
                    }, {
                        url: "https://www.giiso.com/#/",
                        type: "icon",
                        name: "Giiso写作机器人",
                        src: "https://files.codelife.cc/icons/giiso.png",
                        backgroundColor: "#444444",
                        id: "GQYIqAHLg-GVYmvY9oFIf4381"
                    }, {
                        url: "https://www.feishu.cn/product/minutes",
                        type: "icon",
                        name: "飞书妙记",
                        src: "https://files.codelife.cc/icons/feishufeishu.png",
                        backgroundColor: "#ffffff",
                        id: "7hHtpc8iDuRbgqGwkJbSg4511",
                        view: 1
                    }, {
                        url: "https://aigc.wondershare.cn/",
                        type: "icon",
                        name: "万兴爱画",
                        src: "https://files.codelife.cc/icons/aigc.wondershare.cn.svg",
                        backgroundColor: "#12142f",
                        id: "4Vt_zPl6iIMz2TgipoTYD1369",
                        view: 1
                    }, {
                        url: "https://wenxin.baidu.com/younger/creativeSpace",
                        type: "icon",
                        name: "百度创意应用",
                        src: "https://files.codelife.cc/icons/wenxin.baidu.png",
                        backgroundColor: "#383aee",
                        id: "2ccSdLKGLhu4o5mNQzW0R0775"
                    }, {
                        url: "https://zenvideo.qq.com/",
                        type: "icon",
                        name: "腾讯智影",
                        src: "https://files.codelife.cc/icons/zenvideo.qq.com.png",
                        backgroundColor: "#ffffff",
                        id: "i1qtFNxIlQQeQcQtPOo-W8843"
                    }, {
                        url: "http://www.chatbox.cool/#/home",
                        type: "icon",
                        name: "集智魔方",
                        src: "https://files.codelife.cc/icons/chatbox.cool.png",
                        backgroundColor: "#ffffff",
                        id: "nZy9q2cnRYuuT6x6VWcmd5521",
                        view: 1
                    }, {
                        url: "https://ai.baidu.com/creativity/main/workbench",
                        type: "icon",
                        name: "百度智能创作",
                        src: "https://files.codelife.cc/icons/4c9b40.png",
                        backgroundColor: "#000000",
                        id: "jSO2Lrpe4YBFT4F6BpzyC2272"
                    }, {
                        url: "https://www.pm-ai.cn/?utm_source=itab",
                        type: "icon",
                        name: "产品经理AI助手",
                        src: "https://files.codelife.cc/icons/pm-ai.cn.png",
                        id: "pm-ai",
                        backgroundColor: "#ffffff"
                    }, {
                        id: "99OGVGvL_ykSD-Urhe5Q75436",
                        url: "https://pixverse.ai/",
                        name: "PixVerse - Creat",
                        src: "",
                        type: "text",
                        iconText: "Pix",
                        backgroundColor: "#f1c40f",
                        view: 3
                    }]
            },
            {
                name: "摸鱼",
                icon: "entertainment",
                children: [
                    {
                        component: "games",
                        "insetType": "",
                        name: "小游戏",
                        type: "component",
                        size: "1x1",
                        id: "en78uPOC1seXTLoNHkhUi0078",
                        view: 6
                    }, {
                        id: "xiaohongshu-2",
                        url: "https://www.xiaohongshu.com/",
                        type: "icon",
                        name: "小红书",
                        src: "https://files.codelife.cc/icons/xiaohongshu.svg",
                        backgroundColor: "#ff2442"
                    }, {
                        id: "RHza5iCO0",
                        url: "https://weibo.com/",
                        type: "icon",
                        name: "新浪微博",
                        src: "https://files.codelife.cc/icons/weibo.svg",
                        backgroundColor: "#ffd850"
                    }, {
                        id: "hBDW2dtTJ",
                        url: "https://www.iqiyi.com/?vfm=f_432_dhm&fv=8648154ddd63e0af",
                        type: "icon",
                        name: "爱奇艺",
                        src: "https://files.codelife.cc/icons/iqiyi.svg",
                        backgroundColor: "#00cc4c",
                        view: 1
                    }, {
                        id: "KHgOwEaEwALR14p0tVq_W",
                        url: "https://www.bilibili.com/",
                        type: "icon",
                        name: "Bilibili",
                        src: "https://files.codelife.cc/icons/bilibili2.svg",
                        backgroundColor: "#fe65a6"
                    }, {
                        id: "vgXmpPPaJ",
                        url: "http://www.youku.com",
                        type: "icon",
                        name: "优酷",
                        src: "https://files.codelife.cc/icons/youku.svg",
                        backgroundColor: "#ffffff"
                    }, {
                        id: "NnuH_lGqe",
                        url: "http://v.qq.com/",
                        type: "icon",
                        name: "腾讯视频",
                        src: "https://files.codelife.cc/icons/qqvideo.svg",
                        backgroundColor: "#ffffff"
                    }, {
                        id: "3kcHk8fDe",
                        url: "https://www.zhihu.com/",
                        type: "icon",
                        name: "知乎",
                        src: "https://files.codelife.cc/icons/zhihu.svg",
                        backgroundColor: "#0c6dfe"
                    }, {
                        id: "VqqNHgaf-",
                        url: "https://store.steampowered.com/",
                        type: "icon",
                        name: "Steam",
                        src: "https://files.codelife.cc/icons/steam.svg",
                        backgroundColor: "#000000"
                    }, {
                        id: "-Q8KQDvzf",
                        url: "https://www.douyin.com/",
                        type: "icon",
                        name: "抖音",
                        src: "https://files.codelife.cc/icons/douyin.svg",
                        backgroundColor: "#1c0b1a"
                    }, {
                        id: "2ykpQ4jnS",
                        url: "https://www.yikm.net/",
                        type: "icon",
                        name: "小霸王",
                        src: "https://files.codelife.cc/icons/www.yikm.net.svg",
                        backgroundColor: "#1499b5"
                    }, {
                        id: "CSGfty1NQ",
                        url: "https://www.4399.com/",
                        type: "icon",
                        name: "4399小游戏",
                        src: "https://files.codelife.cc/icons/4399.svg",
                        backgroundColor: "#f19425"
                    }, {
                        id: "Ar6V8x5ep",
                        url: "http://www.huya.com/",
                        type: "icon",
                        name: "虎牙直播",
                        src: "https://files.codelife.cc/icons/huya.svg",
                        backgroundColor: "#fff"
                    }, {
                        id: "G7LefZAPp",
                        url: "https://www.douyu.com/",
                        type: "icon",
                        name: "斗鱼",
                        src: "https://files.codelife.cc/icons/douyu.svg",
                        backgroundColor: "#ff6a2d"
                    }, {
                        id: "syQ_7OWpr",
                        url: "https://bgmlist.com/",
                        type: "icon",
                        name: "番组放送",
                        src: "https://files.codelife.cc/icons/59f86644d8bf9277d70b3f60.png",
                        backgroundColor: "#1abc9c",
                        view: 1
                    }, {
                        id: "DMW71i6ra-1",
                        url: "https://rebang.today/?from=itab.link",
                        type: "icon",
                        name: "今日热榜",
                        src: "https://files.codelife.cc/icons/rebang.today.png",
                        backgroundColor: "#165dff",
                        view: 1
                    }, {
                        id: "E73yZrjb-",
                        url: "https://fanqienovel.com/",
                        type: "icon",
                        name: "番茄小说网",
                        src: "https://files.codelife.cc/icons/fanqienovel.svg",
                        backgroundColor: "#fff",
                        view: 1
                    }, {
                        id: "P9JTzK_tG",
                        url: "https://www.xiaozhongjishu.com/?from=itab",
                        type: "icon",
                        name: "小众技术资源库",
                        src: "https://files.codelife.cc/icons/xiaozhongjishu.com.png",
                        backgroundColor: "#fff",
                        view: 3
                    }, {
                        id: "oTRgyT2MF",
                        url: "http://www.douban.com",
                        type: "icon",
                        name: "豆瓣",
                        src: "https://files.codelife.cc/icons/douban.svg",
                        backgroundColor: "#00c117"
                    }, {
                        id: "IC2ssYXhT",
                        url: "http://www.smzdm.com/?from=itab.link",
                        type: "icon",
                        name: "什么值得买",
                        src: "https://files.codelife.cc/icons/smzdm.svg",
                        backgroundColor: "#ed1c24"
                    }, {
                        id: "iOtWHp7dU",
                        url: "https://weread.qq.com/",
                        type: "icon",
                        name: "微信读书",
                        src: "https://files.codelife.cc/icons/weread-qq.svg",
                        backgroundColor: "#fff"
                    }, {
                        id: "K7ZGh5_g727uAnbrtsNMV",
                        url: "https://www.ghxi.com/",
                        type: "icon",
                        name: "果核剥壳",
                        src: "https://files.codelife.cc/icons/ghxi.svg",
                        backgroundColor: "#fff"
                    }, {
                        id: "itab_toonme",
                        url: "https://toonme.com/",
                        type: "icon",
                        name: "漫画生成",
                        src: "https://files.codelife.cc/icons/toonme.png",
                        backgroundColor: "#ffb329"
                    }, {
                        id: "kemoji",
                        url: "https://tikolu.net/emojimix/",
                        type: "icon",
                        name: "emoji合成",
                        src: "https://files.codelife.cc/icons/59f723c85138415abdea365b.png",
                        backgroundColor: "#fff",
                        view: 1
                    }, {
                        id: "Xwvd40Z80",
                        url: "https://bcy.net",
                        type: "icon",
                        name: "半次元",
                        src: "https://files.codelife.cc/icons/60b9ee2cae5a9ba4024b4415.png",
                        backgroundColor: "#fff",
                        view: 1
                    }, {
                        id: "appcikee",
                        url: "https://appwall.today/",
                        type: "icon",
                        name: "App每日限免",
                        src: "https://files.codelife.cc/icons/appwallToday.png",
                        backgroundColor: "#ffffff",
                        view: 1
                    }, {
                        id: "7hqGPPdRM7eKF5S0Yv-bh2847",
                        url: "http://tools.jb51.net",
                        name: "脚本之家",
                        src: "",
                        type: "text",
                        iconText: "脚本",
                        backgroundColor: "#fbbe23"
                    }],
                id: "nav_WjjuUHrlw"
            },
            {
                id: "nav_4Aue6ulxH_ZazUtz1cx6N4452",
                name: "GPT",
                icon: "Telegram",
                children: [
                    {
                        id: "sshnK_X8ehLgkyxpsPq867786",
                        url: "https://chat-shared2.zhile.io/?v=2",
                        name: "Shared Chat",
                        src: "https://chat-shared2.zhile.io/favicon-32x32.png",
                        type: "icon",
                        iconText: "Sha",
                        backgroundColor: "#f1c40f",
                        view: 43
                    }, {
                        id: "gmsfa6I1WqdtOFChDXONc8579",
                        url: "itab://add",
                        type: "icon",
                        name: "添加图标",
                        src: "https://files.codelife.cc/icons/add.svg",
                        backgroundColor: "#fff",
                        view: 8
                    }, {
                        id: "OYKaAGdAgOOKgKaxYPes_0227",
                        url: "https://bing.snowice.eu.org/web/#/",
                        name: "BingAI - 聊天",
                        src: "",
                        type: "text",
                        iconText: "Bin",
                        backgroundColor: "#33c5c5",
                        view: 7
                    }, {
                        id: "RQFitztkqr5oOHfV5_kvu9496",
                        url: "https://discord.com/channels",
                        name: "Discord",
                        src: "https://files.codelife.cc/website/5ff41eee8af9860fb41a9d01.png",
                        type: "icon",
                        iconText: "Dis",
                        view: 3
                    }, {
                        id: "48ptHKcfluCJjxgcS7Lgt0836",
                        url: "https://tool.chinaz.com/speedcom",
                        name: "站长工具",
                        src: "https://files.codelife.cc/icons/60b9ecb1ae5a9ba4024b3f5a.png",
                        type: "icon",
                        iconText: "站长工",
                        backgroundColor: "#ffffff",
                        view: 4
                    }, {
                        id: "D8WwDYU_gXJ3w-kOT_s3Y3428",
                        url: "https://c2.binjie.fun/#/chat/",
                        name: "AIchatOS",
                        src: "https://c2.binjie.fun/favicon.svg",
                        type: "icon",
                        iconText: "AIc",
                        backgroundColor: "#c8ac70",
                        view: 154
                    }, {
                        id: "4nr2Se6SQRn3ESi6HIe_k5572",
                        url: "https://github.com/LiLittleCat/awesome-free-chatgpt",
                        name: "GitHub",
                        src: "https://files.codelife.cc/icons/github.svg",
                        type: "icon",
                        iconText: "Git",
                        backgroundColor: "#000",
                        view: 27
                    }, {
                        id: "nlfrIxaw-V4DcGe7CM0oC4427",
                        url: "https://chati.free2gpt.xyz/",
                        name: "Free2gpt",
                        src: "https://chati.free2gpt.xyz/icon.svg",
                        type: "icon",
                        iconText: "Fre",
                        backgroundColor: "#9b59b6",
                        view: 9
                    }, {
                        id: "AGVMy9o1p-sYfHoltwncK6597",
                        url: "https://chat18.aichatos.xyz/#/chat/1698062245051",
                        name: "gpt",
                        src: "",
                        type: "text",
                        iconText: "",
                        backgroundColor: "",
                        view: 153
                    }, {
                        id: "pbSjk9IAMFWlrjEGTmkP97484",
                        url: "https://chat.pinkfong.cn/#/masks",
                        name: "masks",
                        src: "",
                        type: "text",
                        iconText: "",
                        backgroundColor: "",
                        view: 2
                    }, {
                        id: "Q37IZVIQTmbgkeygpMuMM5718",
                        url: "https://okmiku.com/anime_tts",
                        name: "原神语音合成",
                        src: "https://mikutools.cdn.hatsune.tech/icons/icon_64x64.3ecd30.png",
                        type: "icon",
                        iconText: "原神语",
                        backgroundColor: "#fc4548",
                        view: 2,
                        size: "1x1"
                    }, {
                        id: "27Kzupo9Zg5sjxOLHx95K9118",
                        url: "https://my.aigcplus.io/chat/",
                        name: "AIGC+",
                        src: "https://my.aigcplus.io/favicon.ico",
                        type: "icon",
                        iconText: "",
                        backgroundColor: "#e74c3c",
                        view: 17
                    }]
            },
            {
                id: "nav_mcyQzH41d4EfmnMGQbVZS8291",
                name: "工具",
                icon: "tool",
                children: [
                    {
                        id: "12ILa-t_-FcRt5GrIiWUY6266",
                        url: "http://patorjk.com/software/taag",
                        name: "banner生成工具",
                        src: "",
                        type: "text",
                        iconText: "banner",
                        backgroundColor: "#90EE90",
                        view: 1
                    },
                    {
                        id: "pq9WtyVnbx1NmZ4Kbr4-27325",
                        url: "https://www.toolnb.com/",
                        name: "爱资料在线工具",
                        src: "https://files.codelife.cc/icons/60b9ebf0ae5a9ba4024b3cf7.png",
                        type: "icon",
                        iconText: "爱资料",
                        backgroundColor: "#222222",
                        view: 3
                    }, {
                        id: "VFWXGVBy4ptwstVzOBczu9235",
                        url: "https://github.com/diandaokongge/google-mirror",
                        name: "谷歌",
                        src: "",
                        type: "text",
                        iconText: "",
                        backgroundColor: "",
                        view: 1
                    }, {
                        id: "5n4gv97FeMs23MTz8I0Nm6586",
                        url: "itab://add",
                        type: "icon",
                        name: "添加图标",
                        src: "https://files.codelife.cc/icons/add.svg",
                        backgroundColor: "#fff",
                        view: 1
                    }]
            },
            {
                id: "nav_tfnekI9YJVVxBVKrCffMU6893",
                name: "前端",
                icon: "app",
                children: [{
                    id: "owA9MTvrwGLWRcLoZjTI87946",
                    url: "itab://add",
                    type: "icon",
                    name: "添加图标",
                    src: "https://files.codelife.cc/icons/add.svg",
                    backgroundColor: "#fff",
                    view: 1,
                    size: "1x1"
                }, {
                    id: "u7PQMoCTmF-CYaQJWGLqW4042",
                    url: "https://www.kaka996.com/",
                    name: "electron-egg",
                    src: "",
                    type: "text",
                    iconText: "ele",
                    backgroundColor: "#372128",
                    view: 1
                }, {
                    id: "0mhPWiNCV3N0DkYbzUm6u8415",
                    url: "https://100dayscss.com/",
                    name: "What is this? - ",
                    src: "",
                    type: "text",
                    iconText: "Wha",
                    backgroundColor: "#9326e9",
                    view: 2
                }, {
                    id: "dpma7hD453Mg0sUJ7HhIC1189",
                    url: "https://ailogo.qq.com/",
                    name: "AIDesign",
                    src: "",
                    type: "text",
                    iconText: "AID",
                    backgroundColor: "#054092",
                    view: 2
                }, {
                    id: "2FvkbCqJEdf0npgNNX1hq2523",
                    url: "https://v0.dev/",
                    name: "AI网站生成器",
                    src: "https://v0.dev/icon-19iptc.svg?94ebf4f1268986e0",
                    type: "icon",
                    iconText: "v0 ",
                    backgroundColor: "#f01313"
                }, {
                    id: "Kg2oPz8Vo6d49A5tWLuMz0251",
                    url: "https://ge2.azurewebsites.net/",
                    name: "谷歌镜像网站",
                    src: "",
                    type: "text",
                    iconText: "镜像",
                    backgroundColor: "",
                    view: 2
                }, {
                    id: "RgIapdrlQZW8Erv6tKMLy9275",
                    url: "https://scholar.niostack.com/",
                    name: "镜像网站",
                    src: "",
                    type: "text",
                    iconText: "",
                    backgroundColor: "",
                    view: 3
                }, {
                    id: "wi-jnaxNvYo4Fa-SL5BJi4352",
                    url: "https://www.xiaohongshu.com/",
                    name: "小红书",
                    src: "https://files.codelife.cc/icons/xiaohongshu.svg",
                    type: "icon",
                    iconText: "小红书",
                    backgroundColor: "#ff2442",
                    view: 1
                }, {
                    id: "LZQ71a5bVQlSLyzhRM1fi5638",
                    url: "https://gitcode.com/",
                    name: "GitCode - 开发者的代码",
                    src: "",
                    type: "text",
                    iconText: "Git",
                    backgroundColor: "#2ecc71"
                }, {
                    id: "Y4ngGuKWH2yc-x6Bfc40W4415",
                    url: "https://www.vue3-dnd.com",
                    name: "Vue3 DnD",
                    src: "https://www.vue3-dnd.com/vue3-dnd.svg",
                    type: "icon",
                    iconText: "Vue",
                    backgroundColor: "#c82c34"
                }, {
                    id: "UUahYP5whYqsiFw_memss7903",
                    url: "https://iconpark.oceanengine.com/home",
                    name: "ByteDance IconPa",
                    src: "https://lf1-cdn2-tos.bytegoofy.com/bydesign/iconparksite/logo.svg",
                    type: "icon",
                    iconText: "Byt",
                    backgroundColor: "#f01313",
                    view: 3
                }, {
                    id: "MKaaVi_d_oy8gl0Hc_vbl2373",
                    url: "https://github.com/farm-fe/farm",
                    name: "GitHub",
                    src: "https://files.codelife.cc/icons/github.svg",
                    type: "icon",
                    iconText: "Git",
                    backgroundColor: "#000",
                    view: 2
                }, {
                    id: "does5L5CgJkoujB86KXuB8594",
                    url: "https://www.naiveui.com/zh-CN/os-theme",
                    name: "Naive UI",
                    src: "https://www.naiveui.com/assets/naivelogo-XQ1U1Js8.svg",
                    type: "icon",
                    iconText: "Nai",
                    backgroundColor: "#fbbe23",
                    view: 6,
                    size: "2x2"
                }, {
                    id: "E7SvKNPNhoSrZVZJDgz037956",
                    url: "https://primevue.org",
                    name: "PrimeVue - Vue U",
                    src: "https://primevue.org/favicon.ico",
                    type: "icon",
                    iconText: "Pri",
                    backgroundColor: "#f1c40f",
                    view: 6
                }, {
                    id: "JGndBNnNz0VsPclXZwaoX9047",
                    url: "https://webgradients.com",
                    name: "渐变样式",
                    src: "https://files.codelife.cc/icons/webgradients.svg",
                    type: "icon",
                    iconText: "Web",
                    backgroundColor: "#fff",
                    view: 4
                }, {
                    id: "hOWhzE2iBIf1a1uQ_zKc50938",
                    url: "https://mycolor.space",
                    name: "ColorSpace - Col",
                    src: "https://mycolor.space/favicon5.png",
                    type: "icon",
                    iconText: "Col",
                    backgroundColor: "#f9620e",
                    view: 6
                }, {
                    id: "XKjnfzLzs4O0ntdF18ZW01979",
                    url: "https://www.mingcute.com/",
                    name: "MingCute Icon _ ",
                    src: "https://www.mingcute.com/favicon.ico",
                    type: "icon",
                    iconText: "Min",
                    backgroundColor: "#372128",
                    view: 6
                }, {
                    id: "NfAH1_YA4mNRU2ItLsVni1748",
                    url: "https://www.doubao.com/chat/9936256060418",
                    name: "豆包-你的AI朋友",
                    src: "https://files.codelife.cc/icons/doubao.com.webp",
                    type: "icon",
                    iconText: "豆包-",
                    backgroundColor: "#ffffff",
                    view: 1
                }, {
                    id: "MQwOITzSsy1MPBumLppjh2141",
                    url: "https://jinaconvert.com",
                    name: "图片转换",
                    src: "https://jinaconvert.com/favicon.ico",
                    type: "icon",
                    iconText: "在线免",
                    backgroundColor: "#0071c0",
                    view: 4
                }, {
                    id: "8dTD_boRNe6XeTmM6bOaB1888",
                    url: "https://vectorizer.com/",
                    name: "Vectorizer – Fre",
                    src: "https://vectorizer.com/images/vectorizer/favicon.svg",
                    type: "icon",
                    iconText: "Vec",
                    backgroundColor: "#e74c3c",
                    view: 6
                }, {
                    id: "32EZfzI21Vxvzkjku_Ciz0685",
                    url: "https://uiverse.io/elements",
                    name: "Explore 3000+ Fr",
                    src: "",
                    type: "text",
                    iconText: "Exp",
                    backgroundColor: "#f1c40f",
                    view: 5
                }, {
                    id: "-Eb0nmaYkYZLMmIeFPDEP1541",
                    url: "https://navnav.co/",
                    name: "navnav",
                    src: "",
                    type: "text",
                    iconText: "navnav",
                    backgroundColor: "#fbbe23",
                    view: 4
                }, {
                    id: "9o876eH1f1KwhngMyxBj16319",
                    url: "https://ide.code.fun",
                    name: "code",
                    src: "",
                    type: "text",
                    iconText: "code",
                    backgroundColor: "#1681ff",
                    view: 1
                }, {
                    id: "cQtlEXumH72j_LP7MnqBl5123",
                    url: "https://yiov.top",
                    name: "Yiov",
                    src: "",
                    type: "text",
                    iconText: "Yio",
                    backgroundColor: "#f01313",
                    view: 3
                }]
            }
        ],
    }),
    getters: {},
    actions: {
        /*
        * 获取所有的图标
        * */
        getSidebarAll() {
            return new Promise((resolve, reject) => {
                getSidebarMenu().then((req) => {
                    /*所有的菜单信息*/
                    this.navAllList = req.data
                    this.activeNav = this.navAllList[0]
                    this.activeNavId = this.navAllList[0].tabId
                    resolve(true)
                }).catch(error => {
                    reject(error)
                })
            })
        },

        /**
         * 向上移动
         */
        sidebarPrev() {
            // 1. 先看档期激活 id 的索引是多少

        },
        /**
         * 向下移动
         */
        sidebarNext() {
            // 1. 先看档期激活 id 的索引是多少
        },
    },
})


// 需要缓存的数据
// 1. 当前正在使用的搜索引擎 key


export default useNavConfigStore
